All Questions
4 questions
3votes
1answer
104views
Sequentially find the indexes of an element into a collection
Util class to find into a collection the indexes of a given element with multiple occurrences from the first index or relative to a given index. ...
1vote
1answer
315views
Control class for an entity
For a Student object in the package entity, I have a control.studentpackage with classes ...
2votes
2answers
223views
A trip down the single method interface rabbit hole
I responded to this question about designing around interdependant methods with the strategy pattern. Afterwards I started thinking about the functional additions to java 8 and wondered if I was ...
-2votes
1answer
677views
Decorator pattern using Java 8 [closed]
Wikipedia has an example of a decorator pattern here: https://en.wikipedia.org/wiki/Decorator_pattern#Second_example_.28coffee_making_scenario.29 I was trying to solve this using functional style ...